package cn.edu.sig.dao;

import java.util.List;


public interface TemplateDao<T> {

	public List<T> findAll();
	
	public void add(T t);
	
	public void delete(Integer id);
	
	public void edit(T t);
	
	public T findById(String id);
	
	public T findByName(String name);
}
